package com.xiaoy.core.base.security.user.entity;

import javax.persistence.Embeddable;
import javax.persistence.Embedded;

import com.xiaoy.core.base.dictionary.entity.Address;

@Embeddable
public class UserBase {
	
	private String name;
	private String email;
	private String phone;
	
	@Embedded
	private Address address;
	
	
	
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
}
